package com.woniuxy.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
public class Coach {//教练类
    private int cid;
    private String cname;	//教练名字
    private String pwd;		//密码
    private String phoneNumber;	//电话号码
    private String avatar;	//头像
    private String nickname;
    private BigDecimal price;//收费标准
    private BigDecimal maxPrice;//收费标准条件上限
    private BigDecimal minPrice;//收费标准条件下限
    private String address;	//地址
    private String isOpen;		//是否开放
    private String cstatus;		
    private String isAccept;
    private int styleId;
    private String styleName;
    private String isBand;
    private String isFull;
    private String isPrivate;
    private BigDecimal salary;//期望薪资
    private BigDecimal money;//教练余额
    private String bankCard;
    private BigDecimal longitude;//经度
    private BigDecimal latitude;//纬度
    private List<Venue> venues;
    private List<User> users;
    private int index;//作为索引条件传入SQL，由page和pageSize计算得出
    private int pageSize;//每页的数量
}
